import Vue from 'vue'
import App from './App.vue'
import router from './router/index.js'
Vue.config.productionTip = false

//导入elementUi 插件
import ElementUI from 'element-ui';
//导入elementUi 的css
import 'element-ui/lib/theme-chalk/index.css';
//注册elementUi
Vue.use(ElementUI);

//axios全局配置移至/api文件夹
// import axios from 'axios'
// axios.default.baseURL='http://127.0.0.1/heimamm/public'
// Vue.prototype.$axios = axios

//配置vuex
import store from '@/store/index.js'
new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
